<template>
	<section>
		<headers txt="油卡信息"></headers>
		<ul class="mu20 wallfff">
			<li class="flex_middle hei100 sz30 plr30 bbtm">
				<i></i>
				<span class="mlr30">{{$route.query.name}}</span>
				<p class="flex1">{{$route.query.num}}</p>
			</li>
		</ul>
		<button class="btns" type="button" @click="oildel">解除绑定</button>

	</section>
</template>

<script>
	import { Toast } from 'mint-ui';
	import { Indicator } from 'mint-ui';
	export default {
		data() {
			return {
					
			}
		},
		methods: {
			oildel: function() {
				let v = this;
				Indicator.open({
					text: '请求中，请稍等'
				});
				v.$http.get("/WorkMembersOilCard/V1.0/DelOilCard", {
					params: {
						"OilCardID": v.$route.query.id
					}
				}).then((res) => {
					Indicator.close();
					Toast(res.data.Return_Mess);
				}).catch((err) => {
					Indicator.close();
					Toast(err);
				})
			},
		},

	}
</script>

<style>

</style>